﻿<%@ Control Language="vb" AutoEventWireup="false" Explicit ="true"  codefile="TuyenDung.ascx.vb" Inherits="NVPortal.Modules.NV_SlideIMG.inc_default" %>
<script type="text/javascript" src="/DesktopModules/NV_SlideIMG/Display/js/jquery.min.js"></script>
	<script type="text/javascript" src="/DesktopModules/NV_SlideIMG/Display/js/tuyendung/jquery.easing.js"></script>
    <script type="text/javascript" src="/DesktopModules/NV_SlideIMG/Display/js/tuyendung/jquery.slidorion.min.js"></script>
    <link rel="stylesheet" href="/DesktopModules/NV_SlideIMG/Display/js/tuyendung/slidorion.css" />
<script type="text/javascript">
    $(function () {
        $('#slidorion').slidorion({
            interval: 5000,
            effect: 'slideRandom'
        });
    });
	</script>
<div id="slidorion">
    <div id="slider">
        <asp:Repeater ID="rptLink" runat="server">
            <ItemTemplate>  
                <div id='<%#DataBinder.Eval(Container.DataItem,"id") %>' class="slide">
                    <a href="<%#DataBinder.Eval(Container.DataItem,"Link")%>" target="_blank"><img width="650px" height="400px" src="<%# PortalSettings.HomeDirectory & "Slides/Images/" & DataBinder.Eval(Container.DataItem,"LinkIMG")%>" /></a>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div id="accordion">
        <asp:Repeater ID="rptCaption" runat="server">
            <ItemTemplate>
                    <div class="link-header"><%# DataBinder.Eval(Container.DataItem,"Title")%></div>
                    <div class="link-content">
                        <%# Server.HtmlDecode(DataBinder.Eval(Container.DataItem,"Caption"))%>
                    </div>
            </ItemTemplate>
        </asp:Repeater>    
    </div>
</div>